Optimal. Leaf size=202 \[ -\frac{f^4 \left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} e \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{f^4 \left (\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}+b\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} e \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{f^4 x}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.361944, antiderivative size = 202, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.121, Rules used = {1142, 1122, 1166, 205} \[ -\frac{f^4 \left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} e \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{f^4 \left (\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}+b\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} e \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{f^4 x}{c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1142
Rule 1122
Rule 1166
Rule 205
Rubi steps
\begin{align*} \int \frac{(d f+e f x)^4}{a+b (d+e x)^2+c (d+e x)^4} \, dx &=\frac{f^4 \operatorname{Subst}\left (\int \frac{x^4}{a+b x^2+c x^4} \, dx,x,d+e x\right )}{e}\\ &=\frac{f^4 x}{c}-\frac{f^4 \operatorname{Subst}\left (\int \frac{a+b x^2}{a+b x^2+c x^4} \, dx,x,d+e x\right )}{c e}\\ &=\frac{f^4 x}{c}-\frac{\left (\left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) f^4\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^2} \, dx,x,d+e x\right )}{2 c e}-\frac{\left (\left (b+\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) f^4\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^2} \, dx,x,d+e x\right )}{2 c e}\\ &=\frac{f^4 x}{c}-\frac{\left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) f^4 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b-\sqrt{b^2-4 a c}} e}-\frac{\left (b+\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) f^4 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{b+\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b+\sqrt{b^2-4 a c}} e}\\ \end{align*}
Mathematica [A] time = 0.14723, size = 222, normalized size = 1.1 \[ \frac{f^4 \left (-\frac{\sqrt{2} \left (b \sqrt{b^2-4 a c}+2 a c-b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{b^2-4 a c} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{2} \left (b \sqrt{b^2-4 a c}-2 a c+b^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} (d+e x)}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{b^2-4 a c} \sqrt{\sqrt{b^2-4 a c}+b}}+2 \sqrt{c} (d+e x)\right )}{2 c^{3/2} e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.003, size = 164, normalized size = 0.8 \begin{align*}{\frac{{f}^{4}x}{c}}+{\frac{{f}^{4}}{2\,ce}\sum _{{\it \_R}={\it RootOf} \left ( c{e}^{4}{{\it \_Z}}^{4}+4\,cd{e}^{3}{{\it \_Z}}^{3}+ \left ( 6\,c{d}^{2}{e}^{2}+b{e}^{2} \right ){{\it \_Z}}^{2}+ \left ( 4\,c{d}^{3}e+2\,bde \right ){\it \_Z}+c{d}^{4}+b{d}^{2}+a \right ) }{\frac{ \left ( -{{\it \_R}}^{2}b{e}^{2}-2\,{\it \_R}\,bde-b{d}^{2}-a \right ) \ln \left ( x-{\it \_R} \right ) }{2\,c{e}^{3}{{\it \_R}}^{3}+6\,cd{e}^{2}{{\it \_R}}^{2}+6\,c{d}^{2}e{\it \_R}+2\,c{d}^{3}+be{\it \_R}+bd}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.65602, size = 2772, normalized size = 13.72 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.70435, size = 219, normalized size = 1.08 \begin{align*} \operatorname{RootSum}{\left (t^{4} \left (256 a^{2} c^{5} e^{4} - 128 a b^{2} c^{4} e^{4} + 16 b^{4} c^{3} e^{4}\right ) + t^{2} \left (48 a^{2} b c^{2} e^{2} f^{8} - 28 a b^{3} c e^{2} f^{8} + 4 b^{5} e^{2} f^{8}\right ) + a^{3} f^{16}, \left ( t \mapsto t \log{\left (x + \frac{32 t^{3} a b c^{4} e^{3} - 8 t^{3} b^{3} c^{3} e^{3} - 4 t a^{2} c^{2} e f^{8} + 8 t a b^{2} c e f^{8} - 2 t b^{4} e f^{8} + a^{2} c d f^{12} - a b^{2} d f^{12}}{a^{2} c e f^{12} - a b^{2} e f^{12}} \right )} \right )\right )} + \frac{f^{4} x}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e f x + d f\right )}^{4}}{{\left (e x + d\right )}^{4} c +{\left (e x + d\right )}^{2} b + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]